<%--
  Created by IntelliJ IDEA.
  User: 00
  Date: 2021/5/11
  Time: 11:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>学生信息查询</title>
</head>
<body>
<table width="300px" border="2" align="center">
    <tr>
        <th>学号</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>生日</th>
        <th colspan="2">操作</th>
    </tr>
    <c:forEach items="${hm}" var="stu">
        <tr>
            <td><c:out value="${stu.value.id}"></c:out></td>
            <td><c:out value="${stu.value.name}"></c:out></td>
            <td><c:out value="${stu.value.age}"></c:out></td>
            <td><c:out value="${stu.value.birthday}"></c:out></td>
            <td><a href="ServletDelete?name='${stu.value.id}'">删除</a></td>
            <td><a href="update.jsp?name='${stu.value.id}'">修改</a></td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
